package com.cskaoyan.mapper;


import com.cskaoyan.bean.pojo.OrderGoodsRelation;
import com.cskaoyan.bean.pojo.OrderGoodsRelationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface OrderGoodsRelationMapper {
    long countByExample(OrderGoodsRelationExample example);

    int deleteByExample(OrderGoodsRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderGoodsRelation record);

    int insertSelective(OrderGoodsRelation record);

    List<OrderGoodsRelation> selectByExample(OrderGoodsRelationExample example);

    OrderGoodsRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderGoodsRelation record, @Param("example") OrderGoodsRelationExample example);

    int updateByExample(@Param("record") OrderGoodsRelation record, @Param("example") OrderGoodsRelationExample example);

    int updateByPrimaryKeySelective(OrderGoodsRelation record);

    int updateByPrimaryKey(OrderGoodsRelation record);
}